﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body>
<script type="text/javascript">
    $(document).ready(function () {
        $("div#treenode li li a").each(function (index) {
            $(this).click(function () {
                var _data = $(this).attr("rel");
                $.ajax({
                    type: "POST",
                    url: "default.aspx/File_Load",
                    data: "{'path':'" + _data + "'}",
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (response) {
                        alert("Hoang Dzung");
                    },
                    error: function (XMLHttpRequest, textStatus, errorThrown) {
                        alert(Error);
                    }
                });
            });
        });
    });
</script>
</body>
</html>
